package com.polaris.live.ui.message

import android.os.Bundle
import com.polaris.live.R
import com.polaris.live.databinding.ActivityMessageStrangerBinding
import com.polaris.live.ui.message.fragment.MessageStrangerFragment
import com.polaris.live.utils.fragment.attachFragment
import com.polaris.live.viewmodel.message.MessageStrangerViewModel
import com.polaris.live.common.mvvm.base2.BaseVbActivity

/**
 * 陌生人消息
 *
 * @author Created by lucas on 2023/10/27 11:57
 */
class MessageStrangerActivity : BaseVbActivity<MessageStrangerViewModel, ActivityMessageStrangerBinding>() {

    private val mFragment: MessageStrangerFragment by lazy {
        supportFragmentManager.attachFragment(R.id.fl_fragment) {
            MessageStrangerFragment()
        }
    }

    override fun initView(savedInstanceState: Bundle?) {
        mFragment.setOnLeftClientListener {
            finish()
        }
    }
}